package com.zsrt.java.day20161226.zzd.demo3;

public class TuTest8 {
	public static void demo06(){
		for(int hang=1;hang<=4;hang++){
			for(int kg =1; kg<=4-hang;kg++){
				System.out.print(" ");
			}
			for(int star=1;star<=2*hang-1;star++){
				System.out.print("*");
			}
			System.out.println();
		}
        for(int hang=1;hang<=3;hang++){
			for(int kg=1;kg<=hang;kg++){
				System.out.print(" ");	
			}
			for(int star=1;star<=7-hang*2;star++){
				System.out.print("*");
			}
			System.out.println();
		}
	}
	public static void main(String[] args) {
		demo06();
	}

}
